<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Login</title>
</head>
<body>
<form action="/login" method="post">
#if(${redirectTo})
<input type="hidden" name="redirectTo" value="${redirectTo}" />
#else
<input type="hidden" name="redirectTo" value="/timeline" />
#end
#if(${username})
<p><label>username</label> <input type="text" name="username" size="20" value="${username}"/></p>
#else
<p><label>username</label> <input type="text" name="username" size="20" /></p>
#end
<p><label>password</label> <input type="password" name="password" size="20" /></p>
#if(${email})
<p><label>email</label> <input type="text" name="email" size="20" value="${email}"/></p>
#else
<p><label>email</label> <input type="text" name="email" size="20" /></p>
#end
<input type="submit" />
</form>
</body>
</html>
